export default {
    state: {
        idx: 0
    },
    mutations: {
        SET_IDX(state, index) {
            state.idx = index
        }
    },
    actions: {
        changeSort({ commit }, index) {
            commit("SET_IDX", index)
        }
    }
}